<template>
	<view>
		<u-button @click="emit" type="primary">子传父</u-button>
	</view>
</template>

<script>
	export default {
		name: "son2",
		data() {
			return {

			};
		},
		methods: {
			emit() {
				this.$emit('son', {
					id: 123
				})
			}
		}
	}
</script>

<style>

</style>